package edu.zhku.string;

public class String_Test{
	
	public static void main(String[] args)
	{
		String str = "<html><head></head><shabi>linshaoji</jijijiji><html>";
		int begin = str.indexOf("<shabi>")+7;
		int end = str.indexOf("</jijijiji>");
		String result = str.substring(begin,end);
		System.out.println(result);
	}
}